import { queryTransactionTypeDictData } from "@/requests/api/transcation-query-service";
import { ref } from "vue";

export const useTrTypeDict = async () => {
  const trTypeDict = ref([]);
  const res = await queryTransactionTypeDictData();
  if (res && res.data) {
    trTypeDict.value = res.data;
  }
  return {
    trTypeDict,
  };
};
